package com.dwd.hrm.client;

import com.dwd.hrm.domain.VipUser;
import com.dwd.hrm.util.AjaxResult;
import feign.hystrix.FallbackFactory;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/3/16 9:44
 * @Version 1.0
 */
public class AuthClientFallBackFactory implements FallbackFactory<AuthClient> {
    @Override
    public AuthClient create(Throwable throwable) {
        return new AuthClient() {
            @Override
            public AjaxResult save(VipUser vipUser) {
                return null;
            }
        };
    }
}
